package com.yyf.springboot2.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author yyf
 * @since 2019-05-29
 */
@TableName("t_article")
@EntityScan
@Data
public class TArticle implements Serializable {

    private static final long serialVersionUID = 1L;

	private Integer id;
	private Integer click;
	private String content;
	private String image;
	@TableField("jianJie")
	private String jianJie;
	@TableField("pageDescription")
	private String pageDescription;
	@TableField("pageKeyword")
	private String pageKeyword;
	@TableField("smallId")
	private Integer smallId;
	@TableField("smallName")
	private String smallName;
	private Integer sort;
	private Date time;
	private String title;
	private Integer type;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getClick() {
		return click;
	}

	public void setClick(Integer click) {
		this.click = click;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getJianJie() {
		return jianJie;
	}

	public void setJianJie(String jianJie) {
		this.jianJie = jianJie;
	}

	public String getPageDescription() {
		return pageDescription;
	}

	public void setPageDescription(String pageDescription) {
		this.pageDescription = pageDescription;
	}

	public String getPageKeyword() {
		return pageKeyword;
	}

	public void setPageKeyword(String pageKeyword) {
		this.pageKeyword = pageKeyword;
	}

	public Integer getSmallId() {
		return smallId;
	}

	public void setSmallId(Integer smallId) {
		this.smallId = smallId;
	}

	public String getSmallName() {
		return smallName;
	}

	public void setSmallName(String smallName) {
		this.smallName = smallName;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "TArticle{" +
				"id=" + id +
				", click=" + click +
				", content='" + content + '\'' +
				", image='" + image + '\'' +
				", jianJie='" + jianJie + '\'' +
				", pageDescription='" + pageDescription + '\'' +
				", pageKeyword='" + pageKeyword + '\'' +
				", smallId=" + smallId +
				", smallName='" + smallName + '\'' +
				", sort=" + sort +
				", time=" + time +
				", title='" + title + '\'' +
				", type=" + type +
				'}';
	}


}
